{% extends "todolist/base.html" %}
{% block content %}
    <div class="row justify-content-center">
        <div class="mt-5 text-center" style="width: 40%;">
            <form action="" method="POST" autocomplete="off">
                {% csrf_token %}
                <div class="mb-3">
                    <label for="username" class="form-label">帐号</label>
                    <input type="text" class="form-control" name="username">
                </div>
                <div class="mb-3">
                    <label for="password" class="form-label">密码</label>
                    <input type="password" class="form-control" name="password" autocomplete="new-password">
                </div>
                <div class="mb-3">
                    <input type="submit" class="btn btn-primary" value="登录">
                </div>
            </form>
            {{notice}}
        </div>
    </div>
{% endblock %}
 
